package day06;

//數組的演示
public class ArrayDemo {
    public static void main(String[] args) {






        /*int[] a = {2, 5, 6, 8, 4, 5, 2, 1};
        int[] b = new int[7];
        //a:源数组
        //1:原数组的起始下标
        //b:目标数组
        //2目标数组的起始下标
        //3:要赋值的元素的个数
        System.arraycopy(a, 1, b, 2, 4);
        for (int i = 0; i < b.length; i++) {
            System.out.println(b[i]);//0 0 5 6 8 4 0
        }*/

    }
}
